<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div class="col-md-11 add_body_form">
    <volist name="field_list['main']" id="vo" key="key">
        <if condition="$vo['field'] neq 'customer_owner_id'">
            <div class="form-group">
                <label class="col-md-4 control-label">{$vo.name}：</label>
                <if condition="$vo['form_type'] == 'textarea'">
                    <if condition = "$vo['tip_start'] eq 1">
                        <div class="col-md-6">
                            {$vo.html}
                        </div>
                        <div class="col-md-2"><span style="color: red;line-height: 32px;margin-left: 10px;">*</span></div>
                        <else/>
                        <div class="col-md-8">
                            {$vo.html}
                        </div>
                    </if>
                    <elseif condition="$vo['form_type'] == 'address' || $vo['form_type'] == 'box'"/>
                    <if condition="$vo['field'] == 'grade'">
                        <div class="col-md-8">
                            <input type="hidden" id="star" name="grade" value="{$customer['grade']}">
                            <div class="all-star" style="font-size: 18px;padding-top:3px;color:#D0D0D0;">
                                <i class="fa fa-star">&nbsp;&nbsp;</i><i class="fa fa-star">&nbsp;&nbsp;</i><i class="fa fa-star">&nbsp;&nbsp;</i><i class="fa fa-star">&nbsp;&nbsp;</i><i class="fa fa-star">&nbsp;&nbsp;</i>
                            </div>
                        </div>
                        <else/>
                        <if condition = "$vo['tip_start'] eq 1">
                            <div class="col-md-6">
                                {$vo.html}
                            </div>
                            <div class="col-md-2"><span style="color: red;line-height: 32px;margin-left: 10px;">*</span></div>
                            <else/>
                            <div class="col-md-8">
                                {$vo.html}
                            </div>
                        </if>
                    </if>
                    <elseif condition="$vo['field'] == 'name'"/>
                    <div class="col-md-6">
                        <input class="form-control required" name="name" onkeyup="checkinfo(name)" value="{$customer['name']}" type="text"/>
                    </div>
                    <if condition = "$vo['tip_start'] eq 1">
                        <div class="col-md-2"><span style="color: red;line-height: 32px;margin-left: 10px;">*</span></div>
                        <else/>
                        <div class="col-md-2"></div>
                    </if>
                    <else/>
                    <div class="col-md-6">
                        {$vo.html}
                    </div>
                    <if condition = "$vo['tip_start'] eq 1">
                        <div class="col-md-2"><span style="color: red;line-height: 32px;margin-left: 10px;">*</span></div>
                        <else/>
                        <div class="col-md-2"></div>
                    </if>
                </if>
            </div>
        </if>
    </volist>
</div>

</body>
</html>